//mytime2.h -- Time class after operator overloading
#ifndef CHAPTER11_MYTIME2_H_
#define CHAPTER11_MYTIME2_H_

class Time_11_7
{
private:
	int hours;
	int minutes;
public:
	Time_11_7();
	Time_11_7(int h, int m = 0);
	void AddMin(int m);
	void AddHr(int h);
	void Reset(int h = 0, int m = 0);
	Time_11_7 operator+(const Time_11_7 & t) const;
	Time_11_7 operator-(const Time_11_7 & t) const;
	Time_11_7 operator*(double n) const;
	void Show() const;
};

#endif